package com.tedu.comment.mapper;

import com.tedu.comment.pojo.dto.CommentQuery;
import com.tedu.comment.pojo.entity.AuditComment;
import com.tedu.comment.pojo.vo.AuditCommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AuditCommentMapper {
    void insert(AuditComment auditComment);
    List<AuditCommentVO> loadComment(CommentQuery commentQuery);
    void update(AuditComment auditComment);
   Integer loadCommentCount(CommentQuery commentQuery);
}
